package com.luban.fox.security01.controller;

import com.luban.fox.security01.config.JsonResult;
import com.luban.fox.security01.config.ResultTool;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@RestController
@RequestMapping
@Slf4j
public class HealthController {

    @RequestMapping("/health")
    public JsonResult<String> health() {
        return ResultTool.success();
    }
}
